package com.sky.constant;

public enum OrderStatus {
    UN_PAY(1,"待付款"),
    UN_TAKEORDER(2,"待接单"),
    TAKEORDERED(3,"已接单"),
    DELIVERING(4,"派送中"),
    DONE(5,"已完成"),
    CANCELED(6,"已取消"),
    REFUND(7,"退款");
    private Integer code;
    private String message;

    OrderStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
